package com.relsell.model;

public class RowItem {
	private int imageId;
	private String title;
	private String desc;
	private String date;
	private String artist;
	private String created;

	public RowItem(int imageId, String title, String desc) {
		this.imageId = imageId;
		this.title = title;
		this.desc = desc;
	}
	
	public RowItem(int i,String title,String artist,String created) {
		this.title = title;
		this.setArtist(artist);
		this.setCreated(created);
		
	}
	
	public RowItem(String title,String date, String desc) {
		this.title = title;
		this.date = date;
		this.desc = desc;
	}

	public int getImageId() {
		return imageId;
	}

	public void setImageId(int imageId) {
		this.imageId = imageId;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return title + "\n" + desc;
	}

	public String getArtist() {
		return artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public String getCreated() {
		return created;
	}

	public void setCreated(String created) {
		this.created = created;
	}
}
